<template>
    <div>
        <button v-my-permission:category.abca.xyz="'create'">添加</button>
        <el-button v-my-permission:category="'delete'" type="danger" size="small" @click="patchDelete">批量删除</el-button>
        <el-button v-my-permission:category="'create'" type="primary" size="small" @click="$router.push('add')">新增</el-button>
    </div>
</template>

<script>
    export default {
        methods:{
            patchDelete(){},
        }
    }
</script>

<style lang="scss" scoped>

</style>